function submit(){
	var $txt_usrname = $('#username');
	var $txt_password = $('#password');
	if ($txt_usrname.val() == '') {
		swal("", '请输入用户名！');
		return false;
	}
	if ($txt_password.val() == '') {
	    swal("", '请输入密码！');
	    return false;
	}
	/*$.ajax({
	    type: 'post',
	    url: ,
	    async: false,
	    success:function(result){
	      	if(typeof(result) != "object"){
	        	result = JSON.parse(result);
	      	}
	      	if ( result.status == 0) {
	 			swal({ 
				  title: "登录成功", 
				  type: "success",
				  showCancelButton: false, 
				  confirmButtonColor: "#DD6B55",
				  confirmButtonText: "确定"
				},
				function(){
					window.location.href = "index.html";
				});	
		 	}else{
	        	swal("", result.message);
	      }
	    }
	});*/
}